﻿using System;
using System.Collections.Generic;

namespace LanqiQAwebapi.Models
{
    public partial class Qa
    {
        public Qa()
        {
            Comments = new HashSet<Comment>();
            Questions = new HashSet<Question>();
        }

        public int QaId { get; set; }
        public int? UserId { get; set; }
        public string? Question { get; set; }
        public string? TextFilePath { get; set; }
        public string? AvatarPath { get; set; }
        public int? AgreeCount { get; set; }

        public virtual User? User { get; set; }
        public virtual ICollection<Comment> Comments { get; set; }
        public virtual ICollection<Question> Questions { get; set; }
    }
}
